package map.core;

import java.lang.reflect.Array;

public class NetCDFDimension {
    private String name;
    private String unit;
    private String description;
    private Object values;
    private int size;


    public NetCDFDimension(String name, String unit, String description, Object values) {
        this.name = name;
        this.unit = unit;
        this.description = description;
        this.values = values;
        this.size = Array.getLength(this.values);
    }


    public int getSize() {

        return size;
    }

    public String getName() {
        return name;
    }

    public String getUnit() {
        return unit;
    }

    public String getDescription() {
        return description;
    }

    public Object getValues() {
        return values;
    }
}
